using System;
using Microsoft.AspNetCore.Http;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Request.Tables
{
	public class RequestUpdateGoodsDto 
	{
		/// <summary>
		/// 编号
		/// </summary>
		public int id  { get; set; }
		/// <summary>
		/// 商品名称
		/// </summary>
		public string name  { get; set; }
		/// <summary>
		/// 商品价格
		/// </summary>
		public decimal price  { get; set; }
		/// <summary>
		/// 产品描述
		/// </summary>
		public string description  { get; set; }
		/// <summary>
		/// 封面图片
		/// </summary>
		public IFormFile? photo  { get; set; }
        /// <summary>
        /// 要保留的详情图片名称
        /// </summary>
        public List<string>? retainDetailImages { get; set; }
        /// <summary>
        /// 详情图片
        /// </summary>
        public List<IFormFile>? detailImages  { get; set; }
		/// <summary>
		/// 商品规格
		/// </summary>
		public string specs  { get; set; }
		/// <summary>
		/// 是否直营
		/// </summary>
		public int isDirectly  { get; set; }
		/// <summary>
		/// 是否上架
		/// </summary>
		public int isShelve  { get; set; }
		/// <summary>
		/// 库存
		/// </summary>
		public int inventory  { get; set; }
		/// <summary>
		/// 生产日期
		/// </summary>
		public DateTime birthday  { get; set; }
		/// <summary>
		/// 保质期
		/// </summary>
		public int expiryday  { get; set; }
		/// <summary>
		/// 是否促销
		/// </summary>
		public int isPromote  { get; set; }
		/// <summary>
		/// 置顶级别（越大的排在越前面）
		/// </summary>
		public int topLevel  { get; set; }
		
	}
}